{include file="header/index" /}
<div class="container Authority hides" style="display: block;">
    <ul class="clearfix" style="margin:0px" id="MenuShowList">
        <li class="fl {if condition="$action eq 'index'"}current{/if}"><a href="{:url('systemset/index')}">系统设置</a></li>
        <li class="fl {if condition="$action eq 'weixin'"}current{/if}"><a href="{:url('systemset/weixin')}">公众号管理</a></li>
        <li class="fl {if condition="$action eq 'channel'"}current{/if}"><a href="{:url('systemset/channel')}">短信/smtp配置</a></li>
        <li class="fl {if condition="$action eq 'databack'"}current{/if}"><a href="{:url('systemset/databack')}">数据库备份</a></li>
    </ul>
</div>
<div class="container bgwhite">
    <p class="databaseBackup-top">
        <button class="backup">立即备份</button>
        <button class="optimization">优化表</button>
        <button class="repair">修复表</button>
    </p>

    <div class="table-responsive mt20">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th><input type="checkbox" name="all" value=""></th>
                <th>表名</th>
                <th>数据量</th>
                <th>数据大小</th>
                <th>创建时间</th>
                <th>备份状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td><input type="checkbox" name="Subpage" value=""></td>
                <td>cj_asdaasas</td>
                <td>【1】条记录</td>
                <td>12B</td>
                <td>2017-08-01 12:25:34</td>
                <td>备份中...</td>
                <td>
                    <button class="operatOptimi">优化表</button>
                    <button class="operatRepair">修复表</button>
                </td>
            </tr>
            <tr>
                <td><input type="checkbox" name="Subpage" value=""></td>
                <td>cj_asdaasas</td>
                <td>【1】条记录</td>
                <td>12B</td>
                <td>2017-08-01 12:25:34</td>
                <td>备份完成</td>
                <td>
                    <button class="operatOptimi">优化表</button>
                    <button class="operatRepair">修复表</button>
                </td>
            </tr>
            </tbody>
        </table>
    </div>


    <div class="pag clearfix">
        <p class="fl pagNum">共4条记录&nbsp;&nbsp;1/1页</p>
        <p class="fl JumpPage clearfix">
            <a href="javascript:(0)">首页</a>
            <a href="javascript:(0)"><img class="fl mr5" src="../../images/shang.png">上一页</a>
            <a href="javascript:(0)">下一页<img src="../../images/xia.png"  class="fr ml5"></a>
        </p>
        <p class="fl pageber">
            跳转至第<select>
            <option>1</option>
            <option>2</option>
            <option>3</option>
        </select>页
        </p>
        <p class="fl pageber">
            每页显示<select>
            <option>10</option>
            <option>20</option>
            <option>30</option>
        </select>条
        </p>
    </div>
</div>
<script>
    $("input[name='all']").click(function(){
        if($(this).is(":checked")){
            $("input[name='Subpage']").prop("checked",true)
        }else{
            $("input[name='Subpage']").prop("checked",false)
        }
    });
    $(".backup").click(function(){

        $(this).text("备份完成，点击重新备份")
    })
</script>
</body>
</html>
